package com.example.demo.service.order;

import com.example.demo.common.BasePageResponse;
import com.example.demo.common.ResultObject;
import com.example.demo.jooq.tables.pojos.Account;
import com.example.demo.model.request.AccountPageRequest;
import com.example.demo.model.request.AccountRequest;
import com.example.demo.model.request.VpsPageRequest;
import com.example.demo.model.response.AccountPageResponse;
import com.example.demo.model.response.AccountResponse;
import com.example.demo.model.response.VpsResponse;

public interface IAccountService {
    /**
     * 分页查询Vps
     * @param accountPageRequest
     * @return ResultObject<BasePageResponse<VpsResponse>>
     */
    public ResultObject<BasePageResponse<AccountPageResponse>> queryPageAccountList(AccountPageRequest accountPageRequest);


    /**
     * 保存账号
     * @param account
     * @return ResultObject<BasePageResponse<VpsResponse>>
     */
    public ResultObject saveAccount(AccountRequest account);


    /**
     * 查询账号详情
     * @param accountId 账号ID
     * @return ResultObject<BasePageResponse<VpsResponse>>
     */
    public ResultObject<AccountPageResponse> queryAccountDetail(String  accountId);
}
